package com.qianfeng.openapi.web.master.service;

import com.github.pagehelper.PageInfo;
import com.qianfeng.openapi.web.master.pojo.AdminUser;

import java.util.List;

public interface AdminUserService {

    AdminUser findUser(AdminUser adminUser);

    int insertAdminUser(AdminUser adminUser);

    int updateAdminUser(AdminUser adminUser);

    int deleteAdminUser(Integer id);

    AdminUser getAdminUserById(Integer id);

    PageInfo<AdminUser> getAllAdminUsers(Integer page, Integer limit);

    List<AdminUser> getAdminUsers();

    void deleteAdminUsers(Integer[] ids);

    PageInfo<AdminUser> selectAdminUserByCondition(Integer page, Integer limit,
            String email,String realName,Integer status);

}
